package com.jiejie.service;

import com.jiejie.commons.ServerResponse;
import com.jiejie.entity.Movie;
import com.baomidou.mybatisplus.extension.service.IService;
import com.jiejie.entity.MovieAndCast;
import com.jiejie.entity.Order;

import java.time.LocalDate;
import java.util.List;
import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 辰广
 * @since 2022-10-05
 */
public interface IMovieService  extends IService<Movie>{
    //加载热门数据
    public List<Movie> getHotMovie();
    public List<Movie> getExpectMovie();

    Movie getMovieDetailById(Integer movieId);

    ServerResponse getMovieFilms(Integer movieStatus, String movieType, String movieArea, String movieOpenhours,Integer page);

    public Map<Order,Movie> getOrderMovie(Integer customerId);

    List<Movie> getAllMovie();
}
